<include file="Public/HOME/HTML/head_html_5.html" />
<meta charset="utf-8"/>
<title>修改活动{$Think.const.TITLE}</title>
<link rel="stylesheet" type="text/css" href="/world/public/fontAwesome/css/font-awesome.min.css">
<include file="Public/ADMIN/HTML/Admin_header/admin_css_and_js.html" />
<include file="Public/ADMIN/HTML/Admin_header/admin_title.html" />
<include file="Public/ADMIN/HTML/Admin_header/admin_middle_list.html" />
<include file="Public/ADMIN/HTML/Left_list/activity_left_list.html" />
<!-- 配置文件 -->
<js
	href="{$Think.const.DOMAIN_NAME}Public/Ueditor/ueditor/ueditor.config.js" />
<js
	href="{$Think.const.DOMAIN_NAME}Public/Ueditor/ueditor/ueditor.all.min.js" />
<script>
                            $(function(){
                                var ue = UE.getEditor('intro',{
                                    serverUrl :'{:U('Admin/Index/ueditor')}'
                                });
                            })                
</script>
<div class="row">
	<div class="col-lg-10" style="float: right;margin:0 0 -96px 0" >
		<div class="widget-container fluid-height clearfix">
			<div class="heading">
				<i class="icon-reorder"></i>修改活动
			</div>
			<div class="widget-content padded">
				<form method="post"  class="form-horizontal"  enctype="multipart/form-data">
				<input type="text" name="aid" value="{$act.aid}" hidden="">
				<input type="hidden" name="oldpic" value="{$act.thumb}" >
					<div class="form-group">
						<label class="control-label col-md-2" ">活动名称  </label>
						<sup class="surely" id="result">
                                *
                            </sup>
						<div class="col-md-8">
							<input class="form-control" value="{$act.aname}" type="text"
								name="aname"  required>
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-md-2">活动时间  </label>
						<div class="col-md-4">
										<input class="form-control" readonly="readonly" name="_startdate" type="text" value="{$act.startdate}"  />
									</div>
						<div class="col-md-4">
										<input class="form-control" id="myLocalDate" type="datetime-local" name="startdate" />
									</div>
					</div>
						<script type="text/javascript">
							$("#m")
						</script>

					<div class="form-group">
						<label class="control-label col-md-2">结束时间  </label>
						<div class="col-md-4">
										<input class="form-control" readonly="readonly"  name="_enddate" type="text" value="{$act.enddate}" />
						</div>
						<div class="col-md-4">
										<input class="form-control" type="datetime-local" name="enddate" />
						</div>

					</div>
						<div class="form-group">
						<label class="control-label col-md-2">抢票时间  </label>
						<div class="col-md-4">
										<input class="form-control" readonly="readonly"  name="_bmdate" type="text" value="{$act.bmdate}" />
						</div>
						<div class="col-md-4">
										<input class="form-control" type="datetime-local" name="bmdate"  />
						</div>

					</div>
					<div class="form-group">
						<label class="control-label col-md-2">票数  </label>
						<sup class="surely" id="result">
                                *
                            </sup>
						<div class="col-md-8">
							<input class="form-control" value="{$act.totalticket}" type="text"
								name="totalticket"  required>
						</div>
					</div>
					<div class="form-group">
						<label class="control-label col-md-2">活动地点  </label> <sup
							class="surely" id="result"> * </sup>
						<div class="col-md-8">
							<input class="form-control" value="{$act.place}" type="text"
								name="place" maxLength="20" required>
						</div>
					</div>
						<div class="form-group">
						<label class="control-label col-md-2" style="margin: 0 18px 0 0">
							附件上传 </label>
						<div class="col-md-6">
							<div class="fileupload fileupload-new" data-provides="fileupload">
								<div class="input-group" style="margin: 0 20px 0 -17px">
									<div class="form-control">
										<i class="icon-file fileupload-exists"></i> <span
											class="fileupload-preview"></span>
									</div>
									<div class="input-group-btn">
										<a class="btn btn-default fileupload-exists"
											data-dismiss="fileupload" href="#">取消</a> <span
											class="btn btn-default btn-file"><span
											class="fileupload-new">浏览</span><span
											class="fileupload-exists">重新选择</span><input type="file"
											name="thumb"></span>
									</div>
								</div>
							</div>
						</div>
				 			<div class="col-md-2">
						       <if condition="$act['thumb'] eq ''">
                                暂无活动附件
                                <else />
                                <a href="{$Think.const.RESOURCES}UPLOADS/activity/{$act.thumb}">{$act.attach}</a>
                                </if>
                                </div>
						
					</div> 
					<div class="form-group">
						<label class="control-label col-md-2">活动简述</label>
						<div class="col-md-8">
							<textarea class="form-control" name="desc"  rows="3">{$act.desc}</textarea>
						</div>
					</div>	
				
			<div class="form-group">
						<label class="control-label col-md-2"> 项目简介 </label>
						<div class="col-md-8">
							<script id="intro" name="content" type="text/plain">{$act.content}</script>
							<script type="text/javascript">
                                UE.getEditor('intro', {
                                    theme: "default", //鐨偆
                                    lang: "zh-cn", //璇█
                                    initialFrameWidth: "100%", //鍒濆鍖栫紪杈戝櫒瀹藉害,榛樿800
                                    initialFrameHeight: 320,
                                    toolbars: [['source', 'undo', //鎾ら攢
                                 'redo', //閲嶅仛
                                 'bold', //鍔犵矖
                                 'italic', //鏂滀綋
                                 'underline', //涓嬪垝绾�
                                 'selectall', //鍏ㄩ��
                                 'preview', //棰勮
                                 'horizontal', //鍒嗛殧绾�
                                 'cleardoc', //娓呯┖鏂囨。
                                 'fontfamily', //瀛椾綋
                                 'fontsize', //瀛楀彿
                                 'paragraph', //娈佃惤鏍煎紡
                                 'simpleupload', //鍗曞浘涓婁紶
                                 'insertimage', //澶氬浘涓婁紶
                                 'link', //瓒呴摼鎺�
                                 'emotion', //琛ㄦ儏
                                 'justifyleft', //灞呭乏瀵归綈
                                 'justifyright', //灞呭彸瀵归綈
                                 'justifycenter', //灞呬腑瀵归綈
                                 'justifyjustify', //涓ょ瀵归綈
                                 'forecolor', //瀛椾綋棰滆壊
                                 'backcolor', //鑳屾櫙鑹�
                                 'insertorderedlist', //鏈夊簭鍒楄〃
                                 'insertunorderedlist', //鏃犲簭鍒楄〃
                                 'fullscreen', //鍏ㄥ睆
                                 'imagenone', //榛樿
                                 'imageleft', //宸︽诞鍔�
                                 'imageright', //鍙虫诞鍔�
                                 'imagecenter', //灞呬腑
                                 'lineheight', //琛岄棿璺�
                                 ]]
                                });
                            </script>
						</div>
					</div>

					<script type="text/javascript"></script>
					<div class="form-group">
						<label class="control-label col-md-2"> </label>
						<div class="col-md-8">
							<button class="btn btn-primary" type="submit"
								style="width: 100%; margin: 10px 0 30px 0">确&nbsp;定</button>
						</div>
					</div>
				</form>
            </div>
         </div>
    </div>
</div>
             
</body>
<br/>
<br/>
<br/>
<br/>
<br/>
<include file="Public/HOME/HTML/footer.html" />
</html>
	
				